import 'package:amoy_ticket/home/video_player/video_full_screen_page.dart';
import 'package:amoy_ticket/people/cinema_ticket/cinema_ticket_page.dart';
import 'package:amoy_ticket/people/coupon/coupon_page.dart';
import 'package:amoy_ticket/people/coupon/invalid_coupon_page.dart';
import 'package:amoy_ticket/people/coupon/purchase_record_page.dart';
import 'package:amoy_ticket/people/equity_card/equity_card_page.dart';
import 'package:amoy_ticket/people/people_main/more_service/more_service_page.dart';
import 'package:amoy_ticket/people/people_main/music_and_movie_card_page.dart';
import 'package:amoy_ticket/people/use_smart_dialog.dart';
import 'package:amoy_ticket/utils/getX/counter_get_easy_page.dart';
import 'package:amoy_ticket/utils/getX/counter_get_page.dart';
import 'package:amoy_ticket/utils/getX/get_counter_high_page.dart';
import 'package:amoy_ticket/utils/getX/test_one_page.dart';
import 'package:amoy_ticket/utils/getX/test_two_page.dart';
import 'package:amoy_ticket/vip/vip_main_page.dart';
import 'package:amoy_ticket/widget/webview_page.dart';
import 'package:get/get.dart';

import '../../people/people_main/modify_nickname/modify_nickname_page.dart';
import '../../tabs.dart';

class RouteConfig {
  // 打开tabs页面
  static const String tabs = '/tabs';
  // 打开webview页面
  static const String webviewPage = '/webviewPage';
  // 会员首页
  static const String vipMainPage = '/vipMainPage';
  // get test
  static const String testOne = '/testOne';
  static const String testTwo = '/testOne/testTwo';
  static const String getCounterHighPage = '/getCounterHighPage';
  static const String counterGetPage = '/counterGetPage';
  static const String counterGetEasyPage = '/counterGetEasyPage';
  // use smart_dialog
  static const String useSmartDialog = '/useSmartDialog';
  //use 视频播放--全屏
  static const String videoFullScreenPage = '/videoFullScreenPage';
  //我的--更多信息
  static const String moreServicePage = '/moreServicePage';
  //我的--优惠券
  static const String couponPage = '/couponPage';
  //我的--优惠券--购券记录
  static const String purchaseRecordPage = '/purchaseRecordPage';
  //我的--优惠券--无效购物券
  static const String invalidCouponPage = '/invalidCouponPage';
  //我的--权益卡
  static const String equityCardPage = '/equityCardPage';
  //我的--电影票
  static const String cinemaTicketPage = '/cinemaTicketPage';
  //我的--乐影卡
  static const String musicAndMovieCardPage = '/musicAndMovieCardPage';
  //我的--设置昵称
  static const String modifyNickNamePage = '/ModifyNickNamePage';

  static final List<GetPage> getPages = [
    GetPage(name: webviewPage, page: () => WebViewPage()),
    GetPage(name: vipMainPage, page: () => VipMainPage()),
    GetPage(
        name: testOne, page: () => TestOnePage(), binding: TestOneBinding()),
    GetPage(name: testTwo, page: () => TestTwoPage()),
    GetPage(name: counterGetEasyPage, page: () => CounterGetEasyPage()),
    GetPage(name: counterGetPage, page: () => CounterGetPage()),
    GetPage(name: getCounterHighPage, page: () => GetCounterHighPage()),
    GetPage(name: tabs, page: () => Tabs()),
    GetPage(
      name: useSmartDialog,
      page: () => UseSmartDialog(),
      title: 'smartDialog的使用实例',
    ),
    GetPage(
      name: videoFullScreenPage,
      page: () => VideoFullScreenPage(),
      title: '视频全屏播放',
    ),
    GetPage(
      name: moreServicePage,
      page: () => MoreServicePage(),
    ),
    GetPage(
      name: couponPage,
      page: () => CouponPage(),
    ),
    GetPage(
      name: purchaseRecordPage,
      page: () => PurchaseRecordPage(),
    ),
    GetPage(
      name: invalidCouponPage,
      page: () => InvalidCouponPage(),
    ),
    GetPage(
      name: equityCardPage,
      page: () => EquityCardPage(),
    ),
    GetPage(
      name: cinemaTicketPage,
      page: () => CinemaTicketPage(),
    ),
    GetPage(
      name: musicAndMovieCardPage,
      page: () => MusicAndMovieCardPage(),
    ),
    GetPage(
      name: modifyNickNamePage,
      page: () => ModifyNickNamePage(),
    ),
  ];
}
